<template lang="">
    <div id="about">
        <div id="userdata" v-if="true">
            <div id="userimg">
                <!-- <img src="#" alt=""> -->
                <img src="../assets/images/fan.png" alt="">
            </div>
            <div>
                <p id="username">点击登录</p>
                <p id="loginstate" v-if="true">在线</p>
            </div>

        </div>
        <div id="list">
            <ul>
                <li v-for="item in listcontent">
                    <img :src="item.iurl" alt="">
                    <span>{{item.pcontent}}</span>
                </li>
            </ul>

        </div>
        
        
    </div>
</template>
<script>
export default {
    data(){
        return{
            listcontent: [
          {
            // linkto: "/MoveIndex/MovePublish",
            pcontent: "我的说说",
            iurl: require("../assets/images/MovePublish.png"),
            // iurl2: require("../assets/images/MovePublish1.png")
          },
          {

            // linkto: "/MoveIndex/MoveArchive",
            pcontent: "我的文章",
            iurl: require("../assets/images/MoveArchive.png"),
            // iurl2: require("../assets/images/MoveArchive1.png")
          },
          {
            // linkto: "/MoveIndex/MoveTalk",
            pcontent: "我的评论",
            iurl: require("../assets/images/MoveTalk.png"),
            // iurl2: require("../assets/images/MoveTalk1.png")
          },
          {
            // linkto: "/MoveIndex/MoveTopic",
            pcontent: "我的主题",
            iurl: require("../assets/images/MoveTopic.png"),
            // iurl2: require("../assets/images/MoveTopic1.png")
          },
          {
            // linkto: "/MoveIndex/MoveAbout",
            pcontent: "我的点赞",
            iurl: require("../assets/images/MoveAbout.png"),
            // iurl2: require("../assets/images/MoveAbout1.png")
          },

        ]
        }
    }
    
}
</script>
<style scoped>
#about{
    /* color: white; */
    /* font-size: 20px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
#userdata{
    display: flex;
    margin-top: 1rem;
    width: 80%;
    /* height: 4rem; */
    /* background-color: red; */
    /* background-color: rgba(190, 190, 202, 0.5); */
}
#userimg{
      
    width: 4rem;
    height: 4rem;
    border-radius: 2rem;  
    /* margin: 0.5rem 0 0 0.5rem; */
    /* background-color: greenyellow; */
}
#userimg>img{
    border-radius: 2rem;    
    width: 100%;
    height: 100%;
}
#userdata>div:last-child{
    /* background-color: honeydew; */
    margin-left: 0.5rem;
    width: 50%;
    height: 4rem;
}
#username{
    font-size: 1.2rem;
    margin-top: 0.3rem;

}
#loginstate{
    margin-left: 0.5rem;
    margin-top: 0.8rem;
    color: blue;
    
}
#list{
    width: 90%;
    /* height: 8rem; */
    /* background-color: rgba(156, 187, 187, 0.5); */
    margin-top: 0.5rem;
    font-size: 1rem;
    margin-bottom: 6rem;
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
}
#list>ul{
    display: flex;
    flex-wrap:wrap ;
    /* justify-content: space-around; */
    width: 100%;
}
#list>ul>li{
    width: 41%;
    height: 9rem;
    /* margin-left: 8%; */
    margin: 0.5rem 0 0.5rem 6%;
    background-color: rgba(211, 205, 205, 0.5); 
    position: relative;
    border: 1px solid rgba(88, 88, 88, 0.5);
    
}
#list>ul>li>img{
    width: 100%;
    height: 100%;
}
#list>ul>li>span{
    width: 100%;
    height: 9rem;
    position: absolute;
    left: 0;
    font-size: 3rem;
    text-align: center;
    color: rgba(58, 54, 54, 0.8);
}


    
</style>